package com.example.feignconsumer.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.commons.domain.SmsSendParam;
import com.example.feignconsumer.service.SmsService;

@RestController
public class SmsAPI {
	
	@Autowired
	private SmsService smsService;
	
	@RequestMapping("/sms/send")
    public String send(SmsSendParam param) {
		return smsService.send(param);
    }

}
